//
//  GYMineShopAddressViewModel.h
//  GYDemo
//
//  Created by mac on 2018/6/20.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"

@interface GYMineShopAddressModel : NSObject
@property (nonatomic, assign) NSInteger id;
@property (nonatomic,strong) NSString *province;
@property (nonatomic,strong) NSString *city;
@property (nonatomic,strong) NSString *area;
@property (nonatomic,strong) NSString *addr;
@property (nonatomic,strong) NSString *postalcode;
@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *mobile;
///是否默认：0 否；1 是
@property (nonatomic,strong) NSString *defaultflag;

@property (nonatomic, strong) NSString * phone;
@property (nonatomic, strong) NSString * address;
@property (nonatomic, strong) NSString * userid;

@end

@interface GYMineShopAddressViewModel : GCBaseViewModel
@property (nonatomic,strong) NSMutableArray *datas;
@property (nonatomic,strong) GYMineShopAddressModel *defaultAddress;
+(instancetype)shareInterface;
-(void)requestDatas;
-(void)requestDeleteIndex:(NSInteger)index;
@end
